package com.jrx.anytxn.common.annotation;

import com.jrx.anytxn.common.validator.ValuesValidator;

import javax.validation.Constraint;
import java.lang.annotation.*;

/**
 * @description 是否开启历史记录注解
 * @author: zhenghaopu
 * @date: 2019/8/27
 */
@Documented
@Constraint(validatedBy = ValuesValidator.class)
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface EnableHistoryLogAnnotation {
    /**
     * 历史记录类型
     * @return
     */
    String value() default  "";
}
